package stti.servicio.asterisk;

public class Sip {
	
	private String anexo;
	private String deny;
	private String type;
	private String secret;
	private String qualify;
	private String port;
	private String pickupgroup;
	private String permit;
	private String nat;
	private String mailbox;
	private String host;
	private String dtmfmode;
	private String dial;
	private String context;
	private String canreinvite;
	private String callgroup;
	private String callerid;
	private String accountcode;
	private String calllimit;
	
	public Sip()
	{
		setAnexo("0000");
		setDeny("0.0.0.0/0.0.0.0");
		setType("friend");
		setSecret("");
		setQualify("no");
		setPort("5060");
		setPickupgroup("");
		setPermit("0.0.0.0/0.0.0.0");
		setNat("yes");
		setMailbox("");
		setHost("dynamic");
		setDtmfmode("rfc2833");
		setDial("");
		setContext("AUTOSERVICIO_STTI");
		setCanreinvite("no");
		setCallgroup("");
		setCallerid("");
		setAccountcode("");
		setCalllimit("50");		
	}
	
	public String toString()
	{
		String o = "";
		o = o + "["+this.anexo+"]\n";
		o = o + "deny="+this.deny+"\n";
		o = o + "type="+this.type+"\n";
		o = o + "secret="+this.secret+"\n";
		o = o + "qualify="+this.qualify+"\n";
		o = o + "port="+this.port+"\n";
		o = o + "pickupgroup="+this.pickupgroup+"\n";
		o = o + "permit="+this.permit+"\n";
		o = o + "nat="+this.nat+"\n";
		o = o + "mailbox="+this.mailbox+"\n";
		o = o + "host="+this.host+"\n";
		o = o + "dtmfmode="+this.dtmfmode+"\n";
		o = o + "dial="+this.dial+"\n";
		o = o + "context="+this.context+"\n";
		o = o + "canreinvite="+this.canreinvite+"\n";
		o = o + "callgroup="+this.callgroup+"\n";
		o = o + "callerid="+this.callerid+"\n";
		o = o + "accountcode="+this.accountcode+"\n";
		o = o + "call-limit="+this.calllimit+"\n";
		return o;
	}
	
	public void setAnexo(String anexo) {
		this.anexo = anexo;
	}
	public String getAnexo() {
		return anexo;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getType() {
		return type;
	}
	public void setDeny(String deny) {
		this.deny = deny;
	}
	public String getDeny() {
		return deny;
	}
	public void setQualify(String qualify) {
		this.qualify = qualify;
	}
	public String getQualify() {
		return qualify;
	}
	public void setSecret(String secret) {
		this.secret = secret;
	}
	public String getSecret() {
		return secret;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getPort() {
		return port;
	}
	public void setPickupgroup(String pickupgroup) {
		this.pickupgroup = pickupgroup;
	}
	public String getPickupgroup() {
		return pickupgroup;
	}
	public void setPermit(String permit) {
		this.permit = permit;
	}
	public String getPermit() {
		return permit;
	}
	public void setNat(String nat) {
		this.nat = nat;
	}
	public String getNat() {
		return nat;
	}
	public void setMailbox(String mailbox) {
		this.mailbox = mailbox;
	}
	public String getMailbox() {
		return mailbox;
	}
	public void setDtmfmode(String dtmfmode) {
		this.dtmfmode = dtmfmode;
	}
	public String getDtmfmode() {
		return dtmfmode;
	}
	public void setDial(String dial) {
		this.dial = dial;
	}
	public String getDial() {
		return dial;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getHost() {
		return host;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public String getContext() {
		return context;
	}
	public void setCanreinvite(String canreinvite) {
		this.canreinvite = canreinvite;
	}
	public String getCanreinvite() {
		return canreinvite;
	}
	public void setCallgroup(String callgroup) {
		this.callgroup = callgroup;
	}
	public String getCallgroup() {
		return callgroup;
	}
	public void setCallerid(String callerid) {
		this.callerid = callerid;
	}
	public String getCallerid() {
		return callerid;
	}
	public void setAccountcode(String accountcode) {
		this.accountcode = accountcode;
	}
	public String getAccountcode() {
		return accountcode;
	}
	public void setCalllimit(String calllimit) {
		this.calllimit = calllimit;
	}
	public String getCalllimit() {
		return calllimit;
	}
}
